package com.link.wseller.exception;

import com.link.wseller.enums.SellNum;

public class SellException extends RuntimeException{

    private int code;

    public SellException(SellNum sellNum) {
        super(sellNum.getMsg());
        this.code = sellNum.getCode();
    }
}
